#include <stdio.h>

int main()
{
	int i = 0;
	int arr[3] = {0};
	int num  = 0;
	
	while(i<3)
	{
		scanf("%d",&num);
		arr[i] = num;
		i++;
	}
	i = 0;
    num = arr[0];
	while(i<2)
	{	
	    
	    if(num<=arr[i+1])
		 num = arr[i+1];
		i++;	
	}
	printf("%d",num);
	
	return 0;
}
